public class Adult extends People{
    boolean marriage;
    String address;

    public Adult() {
    }

    public Adult(String name, String sex, int age, boolean marriage, String address) {
        super(name, sex, age);
        this.marriage = marriage;
        this.address = address;
    }

    public void recreation(){
        System.out.println(super.name+"正在健身");
    }
}
